package com.ruoyi.wechat.service;

import java.util.List;
import com.ruoyi.wechat.domain.Communication;

/**
 * 营地交流Service接口
 * 
 * @author ruoyi
 * @date 2024-12-25
 */
public interface ICommunicationService 
{
    /**
     * 查询营地交流
     * 
     * @param communicationId 营地交流主键
     * @return 营地交流
     */
    public Communication selectCommunicationByCommunicationId(String communicationId);

    /**
     * 查询营地交流列表
     * 
     * @param communication 营地交流
     * @return 营地交流集合
     */
    public List<Communication> selectCommunicationList(Communication communication);

    /**
     * 新增营地交流
     * 
     * @param communication 营地交流
     * @return 结果
     */
    public int insertCommunication(Communication communication);

    /**
     * 修改营地交流
     * 
     * @param communication 营地交流
     * @return 结果
     */
    public int updateCommunication(Communication communication);

    /**
     * 批量删除营地交流
     * 
     * @param communicationIds 需要删除的营地交流主键集合
     * @return 结果
     */
    public int deleteCommunicationByCommunicationIds(String[] communicationIds);

    /**
     * 删除营地交流信息
     * 
     * @param communicationId 营地交流主键
     * @return 结果
     */
    public int deleteCommunicationByCommunicationId(String communicationId);
}
